package tothreedesignmodel.chainreponsibility;

import lombok.Getter;
import lombok.Setter;

/**
 * @author lzhphantom
 * @description
 * @date 创建于 21:42 2020/8/1
 * @modified
 */
@Setter
@Getter
public abstract class AbstractHandler {
    private AbstractHandler next;

    /**
     * handle a request
     *
     * @param request String
     * @return void
     * @description
     * @author lzhphantom
     * @date 21:44 2020/8/1
     */
    public abstract void handleRequest(String request);
}
